using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NeosSDI.Transverse.Models.ADO;
using NeosSDI.Transverse.Models.EF;

namespace NeosSDI.Transverse.Interfaces.Services
{
    public interface ISampleService
    {

        /// <summary>
        /// Create the database
        /// </summary>
        /// <param name="script">creation sql script</param>
        void CreateDatabase(string script);

        /// <summary>
        /// Check if database exists
        /// </summary>
        bool CheckDatabaseExist();

        /// <summary>
        /// Get all sample
        /// </summary>
        /// <returns>List of sample</returns>
        List<SampleADODTO> GetList(SearchCriteriaDTO criteria = null);


        /// <summary>
        /// Get last five sample
        /// </summary>
        /// <returns>5 last sample</returns>
        List<SampleADODTO> GetLastFiveSamples();

        /// <summary>
        /// Retrieve all users
        /// </summary>
        /// <returns>all users</returns>
        List<User> GetAllUser();
    }
}
